package com.lyh.system.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BaseEntity;

/**
 * 资产对象 lyh_asset
 * 
 * @author ruoyi
 * @date 2023-04-27
 */
@Data
@TableName("lyh_asset")
public class Asset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal accountBalance;

    /** 权益额度 */
    @Excel(name = "权益额度")
    private BigDecimal equityLimit;

    /** 股权积分 */
    @Excel(name = "股权积分")
    private Long equityPoints;

    /** 资产通证 */
    @Excel(name = "资产通证")
    private BigDecimal assetEvidenceNum;

    /** 消费券 */
    @Excel(name = "消费券")
    private BigDecimal consumerCouponNum;

    /** 门店积分 */
    @Excel(name = "门店积分")
    private Long integral;

    //零钱
    private BigDecimal changes;

    /** 所属用户 */
    @Excel(name = "所属用户")
    private Long userId;
}
